package com.xx.service.impl;

import com.xx.dao.FindUserMapper;
import com.xx.domain.User;
import com.xx.service.ShowUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author : 徐闯 ssm_admin
 * @Date : 2021-05-16 19:05:02
 * @Description : 展示用户信息的业务层
 **/
@Service
public class ShowUserServiceImpl implements ShowUserService {
    @Autowired
    private FindUserMapper findUserMapper;
    @Override
    public List<User> showAllUser() {
        return findUserMapper.findAll();
    }
}
